在 Ubuntu 上安裝 powerline


Posted by Calon on 2022-04-26

  1. 使用下面指令安裝:
    $ sudo apt update && sudo apt install powerline fonts-powerline
    
  2. 安裝軟件包後,必須修改 .bashrc 文件,這段是在檢查安裝路徑中是否存在文件 powerline.sh:
    if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
    source /usr/share/powerline/bindings/bash/powerline.sh
    fi
    
  3. 保存退出後,重新啟動終端機。

參考資料

#linux







Related Posts

串串AIP Again~

串串AIP Again~

Git筆記 branch / merge

Git筆記 branch / merge

程式導師計畫 4th / 第十週複習整理心得

程式導師計畫 4th / 第十週複習整理心得


Comments